using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Linq.Mapping;
namespace MRSite.Entity
{

    [Table(Name = "agent_level")]
    public class AgentLevel : Entity
    {
        /// <summary>
        ///自增ID
        /// </summary>
        [Column(Name = "id", IsPrimaryKey = true, CanBeNull = false, IsVersion = true)]
        public override int id { get; set; }

        /// <summary>
        ///代理级别名称
        /// </summary>
        [Column(Name = "title")]
        public String title { get; set; }

        /// <summary>
        ///等级值
        /// </summary>
        [Column(Name = "grade")]
        public int grade { get; set; }



        /// <summary>
        ///所需代理费
        /// </summary>
        [Column(Name = "amount")]
        public Decimal amount { get; set; }

        /// <summary>
        /// 贡献值奖励
        /// </summary>
        [Column(Name = "servicejl")]
        public Decimal servicejl { get; set; }


        /// <summary>
        /// 区域代理奖励(现金)
        /// </summary>
        [Column(Name = "agentjl")]
        public Decimal agentjl { get; set; }




        /// <summary>
        /// 代理直推奖励（只限代理推荐代理）
        /// </summary>
        [Column(Name = "zhitui")]
        public Decimal zhitui { get; set; }


        /// <summary>
        /// 代理间推奖励（只限代理推荐代理）
        /// </summary>
        [Column(Name = "zhitui2")]
        public Decimal zhitui2 { get; set; }

        /// <summary>
        /// 赠送积分
        /// </summary>
        [Column(Name = "zengsong_point")]
        public int zengsong_point { get; set; }


        /// <summary>
        /// 复购折扣
        /// </summary>
        [Column(Name = "discount")]
        public int discount { get; set; }

        ///// <summary>
        ///// 复消奖励
        ///// </summary>
        //[Column(Name = "fuxiaojl")]
        //public Decimal fuxiaojl { get; set; }

        ///// <summary>
        ///// 金卡数量
        ///// </summary>
        //[Column(Name = "jknum")]
        //public int jknum { get; set; }

        ///// <summary>
        ///// 服务中心数量
        ///// </summary>
        //[Column(Name = "servicenum")]
        //public int servicenum { get; set; }

        ///// <summary>
        ///// 县级代理数量
        ///// </summary>
        //[Column(Name = "areanum")]
        //public int areanum { get; set; }

        ///// <summary>
        ///// 市级代理数量
        ///// </summary>
        //[Column(Name = "citynum")]
        //public int citynum { get; set; }

        ///// <summary>
        ///// 奖励现金
        ///// </summary>
        //[Column(Name = "jl_xianjin")]
        //public Decimal jl_xianjin { get; set; }
    }


}


